package com.ljy.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private Integer id;

    //微信用户唯一标识
    private String openid;

    //姓名
    private String username;

    //手机号
    private String phone;

    //性别 0未知 1 男 2 女
    private String gender;
    //头像
    private String avatar;

    //注册时间
    private LocalDateTime createTime;
    //最近登录时间
    private LocalDateTime recentTime;
}
